package cn.ellacat.game.guess;

/**
 * @author wjc133
 */
public interface IoController {
    void init();

    int inInt() throws GuessYouException;

    String inString() throws GuessYouException;

    Object inObject() throws GuessYouException;

    <T> T inObject(Class<T> clz) throws GuessYouException;

    void outLine(String str) throws GuessYouException;

    void outString(String str) throws GuessYouException;

    void outInt(int i) throws GuessYouException;

    void outObject(Object obj) throws GuessYouException;
}
